package month01.weekend04;

public class Fang extends Tu{
    private double length;
    private double width;
    public Fang(){
        super();
    }

    public double s(){
        return length*width;
    }

    public double getLength() {
        return length;
    }

    public void setLength(double length) {
        this.length = length;
    }

    public double getWidth() {
        return width;
    }

    public void setWidth(double width) {
        this.width = width;
    }
}
